<?php $uri = $this->uri->segment(1); ?>
<ul class="sidebar-nav">
  <li <?php if($uri == 'panel') { echo 'class="bg-primary"';} ?>><a href="<?php echo base_url();?>index.php/panel"><span class="glyphicon glyphicon-th-large" <?php if($uri == 'panel') { echo 'style ="display: inline-block;"
';} ?>></span>&nbsp;Dashboard</a></li>
  <li  <?php if($uri == 'pslide') { echo 'class="bg-primary"';} ?>><a href="<?php echo base_url();?>index.php/pslide"><span class="glyphicon glyphicon-expand" <?php if($uri == 'pslide') { echo 'style ="display: inline-block;"
';} ?>></span>&nbsp;Slide &amp; News</a></li>
  <li <?php if($uri == 'pmember') { echo 'class="bg-primary"';} ?>><a href="<?php echo base_url();?>index.php/pmember"><span class="glyphicon glyphicon-user" <?php if($uri == 'pmember') { echo 'style ="display: inline-block;"
';} ?>></span>&nbsp;Members</a></li>
	<?php if($uri == 'pmember') { echo '
	<ul class="sidebar-sec">
    	<li><a href='.base_url().'index.php/pmember>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All Members</a></li>
        <li><a href='.base_url().'index.php/pmember/register>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add Member</a></li>
		<li><a href='.base_url().'index.php/pmember/profile>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Member Profile</a></li>
		<li><a href='.base_url().'index.php/pmember/update>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update Profile</a></li>
    </ul>
	';}
	?>
  <li <?php if($uri == 'pvdo') { echo 'class="bg-primary"';} ?>><a href="<?php echo base_url();?>index.php/pvdo"><span class="glyphicon glyphicon-film"<?php if($uri == 'pvdo') { echo 'style ="display: inline-block;"
';} ?>></span>&nbsp;Videos</a> </li>
<?php if($uri == 'pvdo') { echo '
	<ul class="sidebar-sec">
    	<li><a href='.base_url().'index.php/pvdo/profile>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Information</a></li>
		<li><a href='.base_url().'index.php/pvdo/upload>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload</a></li>
		<li><a href='.base_url().'index.php/pvdo/category>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Category</a></li>
    </ul>
	';}
	?>
  <li <?php if($uri == 'preport') { echo 'class="bg-primary"';} ?>><a href="<?php echo base_url();?>index.php/preport"><span class="glyphicon glyphicon-envelope"<?php if($uri == 'preport') { echo 'style ="display: inline-block;"
';} ?>></span>&nbsp;Report</a> </li>

  <li <?php if($uri == 'plogfile') { echo 'class="bg-primary"';} ?>><a href="<?php echo base_url();?>index.php/plogfile"><span class="glyphicon glyphicon-file"<?php if($uri == 'logfile') { echo 'style ="display: inline-block;"
';} ?>></span>&nbsp;Log file</a> </li>
  
  
  <li <?php if($uri == 'psetting') { echo 'class="bg-primary"';} ?>><a href="<?php echo base_url();?>index.php/psetting"><span class="glyphicon glyphicon-cog	"<?php if($uri == 'setting') { echo 'style ="display: inline-block;"
';} ?>></span>&nbsp;Setting</a> </li>
</ul>
